<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PxControllerBehaviorCallback Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classPxControllerBehaviorCallback.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="classPxControllerBehaviorCallback-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">PxControllerBehaviorCallback Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="group__character.html">Character</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>User behavior callback.  
 <a href="classPxControllerBehaviorCallback.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="PxControllerBehavior_8h_source.html">PxControllerBehavior.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af1cac5db44edb432053ae94b141a4150"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__character.html#gac727cde912827a0304f5ac182a0a0b1c">PxControllerBehaviorFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxControllerBehaviorCallback.html#af1cac5db44edb432053ae94b141a4150">getBehaviorFlags</a> (const <a class="el" href="classPxShape.html">PxShape</a> &amp;shape, const <a class="el" href="classPxActor.html">PxActor</a> &amp;actor)=0</td></tr>
<tr class="memdesc:af1cac5db44edb432053ae94b141a4150"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve behavior flags for a shape.  <a href="#af1cac5db44edb432053ae94b141a4150">More...</a><br /></td></tr>
<tr class="separator:af1cac5db44edb432053ae94b141a4150"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79b661daa722e20eca9baa9a7b9745e9"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__character.html#gac727cde912827a0304f5ac182a0a0b1c">PxControllerBehaviorFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxControllerBehaviorCallback.html#a79b661daa722e20eca9baa9a7b9745e9">getBehaviorFlags</a> (const <a class="el" href="classPxController.html">PxController</a> &amp;controller)=0</td></tr>
<tr class="memdesc:a79b661daa722e20eca9baa9a7b9745e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve behavior flags for a controller.  <a href="#a79b661daa722e20eca9baa9a7b9745e9">More...</a><br /></td></tr>
<tr class="separator:a79b661daa722e20eca9baa9a7b9745e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21859ff2cacd3d1546e4d191493a6b39"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__character.html#gac727cde912827a0304f5ac182a0a0b1c">PxControllerBehaviorFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxControllerBehaviorCallback.html#a21859ff2cacd3d1546e4d191493a6b39">getBehaviorFlags</a> (const <a class="el" href="classPxObstacle.html">PxObstacle</a> &amp;obstacle)=0</td></tr>
<tr class="memdesc:a21859ff2cacd3d1546e4d191493a6b39"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve behavior flags for an obstacle.  <a href="#a21859ff2cacd3d1546e4d191493a6b39">More...</a><br /></td></tr>
<tr class="separator:a21859ff2cacd3d1546e4d191493a6b39"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a435c808998d0ddb0ee20988a6542d570"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxControllerBehaviorCallback.html#a435c808998d0ddb0ee20988a6542d570">~PxControllerBehaviorCallback</a> ()</td></tr>
<tr class="separator:a435c808998d0ddb0ee20988a6542d570"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>User behavior callback. </p>
<p>This behavior callback is called to customize the controller's behavior w.r.t. touched shapes. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a435c808998d0ddb0ee20988a6542d570"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a435c808998d0ddb0ee20988a6542d570">&#9670;&nbsp;</a></span>~PxControllerBehaviorCallback()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual PxControllerBehaviorCallback::~PxControllerBehaviorCallback </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="af1cac5db44edb432053ae94b141a4150"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1cac5db44edb432053ae94b141a4150">&#9670;&nbsp;</a></span>getBehaviorFlags() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__character.html#gac727cde912827a0304f5ac182a0a0b1c">PxControllerBehaviorFlags</a> PxControllerBehaviorCallback::getBehaviorFlags </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxShape.html">PxShape</a> &amp;&#160;</td>
          <td class="paramname"><em>shape</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxActor.html">PxActor</a> &amp;&#160;</td>
          <td class="paramname"><em>actor</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Retrieve behavior flags for a shape. </p>
<p>When the CCT touches a shape, the CCT's behavior w.r.t. this shape can be customized by users. This function retrieves the desired <a class="el" href="structPxControllerBehaviorFlag.html" title="specifies controller behavior ">PxControllerBehaviorFlag</a> flags capturing the desired behavior.</p>
<dl class="section note"><dt>Note</dt><dd>See comments about deprecated functions at the start of this class</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">shape</td><td>The shape the CCT is currently touching </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">actor</td><td>The actor owning the shape</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Desired behavior flags for the given shape</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="structPxControllerBehaviorFlag.html" title="specifies controller behavior ">PxControllerBehaviorFlag</a> </dd></dl>

</div>
</div>
<a id="a79b661daa722e20eca9baa9a7b9745e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a79b661daa722e20eca9baa9a7b9745e9">&#9670;&nbsp;</a></span>getBehaviorFlags() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__character.html#gac727cde912827a0304f5ac182a0a0b1c">PxControllerBehaviorFlags</a> PxControllerBehaviorCallback::getBehaviorFlags </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxController.html">PxController</a> &amp;&#160;</td>
          <td class="paramname"><em>controller</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Retrieve behavior flags for a controller. </p>
<p>When the CCT touches a controller, the CCT's behavior w.r.t. this controller can be customized by users. This function retrieves the desired <a class="el" href="structPxControllerBehaviorFlag.html" title="specifies controller behavior ">PxControllerBehaviorFlag</a> flags capturing the desired behavior.</p>
<dl class="section note"><dt>Note</dt><dd>The flag <a class="el" href="structPxControllerBehaviorFlag.html#aa8d6dfaac2847892e8c5b76eb4d1d55baff9a861db9c1c8457b1aa0ea220eafbc" title="Controller can ride on touched object (i.e. when this touched object is moving horizontally). ">PxControllerBehaviorFlag::eCCT_CAN_RIDE_ON_OBJECT</a> is not supported. </dd>
<dd>
See comments about deprecated functions at the start of this class</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">controller</td><td>The controller the CCT is currently touching</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Desired behavior flags for the given controller</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="structPxControllerBehaviorFlag.html" title="specifies controller behavior ">PxControllerBehaviorFlag</a> </dd></dl>

</div>
</div>
<a id="a21859ff2cacd3d1546e4d191493a6b39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21859ff2cacd3d1546e4d191493a6b39">&#9670;&nbsp;</a></span>getBehaviorFlags() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="group__character.html#gac727cde912827a0304f5ac182a0a0b1c">PxControllerBehaviorFlags</a> PxControllerBehaviorCallback::getBehaviorFlags </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxObstacle.html">PxObstacle</a> &amp;&#160;</td>
          <td class="paramname"><em>obstacle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Retrieve behavior flags for an obstacle. </p>
<p>When the CCT touches an obstacle, the CCT's behavior w.r.t. this obstacle can be customized by users. This function retrieves the desired <a class="el" href="structPxControllerBehaviorFlag.html" title="specifies controller behavior ">PxControllerBehaviorFlag</a> flags capturing the desired behavior.</p>
<dl class="section note"><dt>Note</dt><dd>See comments about deprecated functions at the start of this class</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">obstacle</td><td>The obstacle the CCT is currently touching</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Desired behavior flags for the given obstacle</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="structPxControllerBehaviorFlag.html" title="specifies controller behavior ">PxControllerBehaviorFlag</a> </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PxControllerBehavior_8h_source.html">PxControllerBehavior.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classPxControllerBehaviorCallback.html">PxControllerBehaviorCallback</a></li>
    <li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
  </ul>
</div>
</body>
</html>
